const tabs = {
  state: {
    tabsIds: {

    }
  },
  mutations: {
    setTabsIds(state, data){
      state.tabsIds = {
        ...data
      }
    },
    setTabsId(state, {key, value}){
      state.tabsIds[key] = value
    },
    removeTabsId(state, {key}){
      delete state.tabsIds[key]
    },
  }
}

export default tabs
